<template>
  <div>
    <table>
      <tr>
        <th>编号</th>
        <th>姓名</th>
        <th>性别</th>
      </tr>

      <tbody>
      <tr v-for="e in emps">
        <td>{{e.eno}}</td>
        <td>{{e.ename}}</td>
        <td>{{e.esex}}</td>
      </tr>
      </tbody>
    </table>
  </div>
</template>

<script>
  export default {
    name: "Home",
    data() {
      return {
        emps: [
          {
            eno: 101,
            ename: "张三",
            esex: "男"
          },
          {
            eno: 102,
            ename: "李四",
            esex: "女"
          }
        ]
      }
    }
  }
</script>

<style scoped>

</style>
